/*
 * 版权所有 (c) 2022-2099 TBIT。保留所有权利。
 */

package com.tbit.main.pojo.VO;

import com.tbit.common.entity.PageParam;
import com.tbit.main.constant.SysConstant;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 *
 * @author <a href="mailto:li.yao@tbit.com.cn">yao</a>
 * @version 4.1.0
 * @since 2024/7/1 9:31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RideLogReqVO extends PageParam {

    // 请求参数
    @Length(max = 30, message = "rideLog.phoneOrOrderNoOrUserCode.length.max")
    @NotBlank(message = "rideLog.phoneOrOrderNoOrUserCode.notNull")
    private String phoneOrOrderNoOrUserCode;

    private Integer accountId;
    private String accountIds;

    // 查询条件
    private String userCode;

    private Integer machineId;

    private Integer userId;

    private String orderNo;

    private String startTime;

    private String endTime;

    private Integer mapType = SysConstant.GOOGLE;

}
